
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { QtsjEntity } from './entities/qtsjentity';

import { QtsjProxy } from './qtsjproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/publicbasicdata/v1.0/jtgj_frm',
    entityType: QtsjEntity
})
export class QtsjRepository extends BefRepository<QtsjEntity> {
    public name = 'QtsjRepository';

    public proxy: QtsjProxy;
    public paginationInfo = {
        QtsjEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(QtsjProxy, null);
    }
}